#include <Timer.h>
#include "pingpong.h"

//
 configuration pingpongAppC {
 }
 implementation {
   components MainC;
   components LedsC;
   components pingpongC as App;
   components new TimerMilliC() as Timer0;
   components new TimerMilliC() as AlarmC;
   components ActiveMessageC;
   components new AMSenderC(AM_BLINKTORADIO);
   components new AMReceiverC(AM_BLINKTORADIO);
   //components new AlarmMilli32C() as AlarmC;


   App.Boot -> MainC;
   App.Leds -> LedsC;
   App.Timer0 -> Timer0;
   App.Packet -> AMSenderC;
   App.AMPacket -> AMSenderC;
   App.AMSend -> AMSenderC;
   App.AMControl -> ActiveMessageC;
   App.Receive -> AMReceiverC;
   App.Alarm -> AlarmC;

 }
